<template>
	<view class="" style="text-align: center;width: 100%;height: 100%;" >
		<image class="" :src="imageurl" mode="aspectFit" style="height: 100%;width: 100%;" @click="handleBig">
		</image>
	</view>
</template>

<script>
	export default {
		data(){
			return{
				imageurl:"",
			}
		},
		onLoad(options) {
			console.log("options",options)
			this.imageurl = options.image
		},
		methods:{
			handleBig(){
				uni.previewImage({
					urls: [this.imageurl],// 图片的链接列表
					current: 0, // 当前显示图片的链接索引
				});
			}
		},
	}
</script>

<style>
</style>